| GraphicsFormats package for Buoy |
|
RawPngExporter Class
A class to Export RawBitmap’s to a PNG format. The result can be written to a File or Bytes buffer.
This class uses RawBitmap that is defined in the RawBitmap package instead of Buoy Pictures.
This class will also include ICC Color Profile if the RawBitmap had ICC Color profile on it.
The RawPngExporter can export images with either 8 bit per channel or 16 bit per channel, maintaining full precision.
Import: EinhugurGraphicsFormats.RawPng
Object
RawPngExporter
class RawPngExporter
Constructors
Properties
Author | Writes to the Author metadata field which is for name of image's creator |
CompressionLevel | Sets compression level (0 - 9) |
Copyright | Writes to the Copyright metadata field which is for copyright notice |
Description | Writes to the description metadata field. |
Disclaimer | Writes to the disclaimer metadata field which is for legal disclaimer for the image. |
Gamma | Use this property to alter the default Gamma values for the Export. |
IgnoreAlphaChannel | If set to true then the alpha channel in a image is not imported if the image has an alpha channel. |
shared Information | Shared function to get information about the file format. |
Software | Writes to the Software metadata field which is for name of the software used to create the image |
Source | Writes to the Source metadata field which is for name of the device used to create the image |
Title | Writes to the Title metadata field which is for short one line title for image |
Warning | Writes to the Warning metadata field which is for warnings of nature of content |
Methods
SaveToBytes | Exports a picture formatted as PNG to a Bytes buffer. |
SaveToFile | Exports a RawBitmap to a PNG file. |
Supported Platforms:
macOS Intel 64 bitmacOS Apple SiliconWindows 64 bitWindows ARM 64 bitLinux 64 bitLinux ARM 64 bit